package com.arpa.wms.domain.dto;

import com.arpa.ntocc.common.domain.entity.BasicEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 出库单明细DTO
 * </p>
 *
 * @author LEO
 * @since 2020-10-27
 */
@Data
@ApiModel(value="OutboundRegisterDTO对象", description="出库单明细")
public class OutboundRegisterDTO extends BasicEntity {


    @ApiModelProperty(value = "数据标识")
    private String code;

    @ApiModelProperty(value = "所属机构")
    private String groupCode;

    @ApiModelProperty(value = "出库单号")
    private String outboundCode;

    @ApiModelProperty(value = "任务传递的来源单号，等同于outboundCode字段")
    private String sourceCode;

    @ApiModelProperty(value = "出库单明细标识")
    private String outboundItemCode;

    @ApiModelProperty(value = "拣货单明细标识")
    private String pickingItemCode;

    @ApiModelProperty(value = "拣货确认单标识")
    private String pickingRegisterCode;

    @ApiModelProperty(value = "复核状态；0：未复核；2：已复核；")
    private String status;

    @ApiModelProperty(value = "商品编码code")
    private String goodsCode;

    @ApiModelProperty(value = "商品编码")
    private String goodCode;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品条码")
    private String goodsBarCode;

    @ApiModelProperty(value = "商品规格")
    private String spec;

    @ApiModelProperty(value = "商品保质期（天）")
    private BigDecimal expirationQuantity;

    @ApiModelProperty(value = "单位")
    private String goodsUnit;

    @ApiModelProperty(value = "单位名称")
    private String goodsUnitName;

    @ApiModelProperty(value = "商品基本单位")
    private String basicUnit;

    @ApiModelProperty(value = "基本单位名称")
    private String basicUnitName;

    @ApiModelProperty(value = "库存批次号")
    private String lot;

    @ApiModelProperty(value = "收货批次")
    private String receiveLot;

    @ApiModelProperty(value = "序列号")
    private String serialNumber;

    @ApiModelProperty(value = "供应商")
    private String supplier;

    @ApiModelProperty(value = "扩展1")
    private String extendOne;

    @ApiModelProperty(value = "扩展2")
    private String extendTwo;

    @ApiModelProperty(value = "扩展3")
    private BigDecimal extendThree;

    @ApiModelProperty(value = "扩展4")
    private BigDecimal extendFour;

    @ApiModelProperty(value = "扩展5")
    private LocalDateTime extendFive;

    @ApiModelProperty(value = "扩展6")
    private LocalDateTime extendSix;

    @ApiModelProperty(value = "库存状态")
    private String goodsStatus;

    @ApiModelProperty(value = "库存状态名称")
    private String goodsStatusName;

    @ApiModelProperty(value = "分配库位")
    private String location;

    @ApiModelProperty(value = "计划复核总数量")
    private BigDecimal planQuantity;

    @ApiModelProperty(value = "复核数量")
    private BigDecimal recheckQuantity;

    @ApiModelProperty(value = "生产日期")
    private LocalDateTime gmtManufacture;

    @ApiModelProperty(value = "过期日期")
    private LocalDateTime gmtExpire;

    @ApiModelProperty(value = "存货日期")
    private LocalDateTime gmtStock;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "创建人名称")
    private String createdName;

    @ApiModelProperty(value = "修改人名称")
    private String modifiedName;

    @ApiModelProperty(value = "任务号")
    private String taskCode;

    @ApiModelProperty(value = "作业人编码")
    private String operatorBy;

    @ApiModelProperty(value = "作业人名称")
    private String operatorName;

    @ApiModelProperty(value = "容器编码")
    private String containerBarCode;

    @ApiModelProperty(value = "容器类型；0：托盘；1：周转箱")
    private Integer containerType;

    @ApiModelProperty(value = "锁定状态，0-不锁，1-锁")
    private Integer isLock;

    @ApiModelProperty(value = "库存容器号；如果有值则说明是托盘号；没值说明上架时要么没用容器，要么用的周转箱；")
    private String inventoryContainerBarCode;


    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;

    @ApiModelProperty(value = "缺货登记数量")
    private BigDecimal stockoutQuantity;

    @ApiModelProperty(value = "波次号")
    private String wavePickingCode;

    @ApiModelProperty(value = "库存号")
    private String inventoryCode;

    @ApiModelProperty(value = "出库单集合")
    private List<String> outboundCodes;

}
